:root {
  --height: 40px;
  --themeBg: #3bc0c3;
}
html,
body {
  /* overflow: hidden; */
  font-size: 15px;
  background: #fff;
}
text tspan {
  font-size: 14px;
}
/* svg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
} */
header {
  position: fixed;
  left: 0;
  right: 0;
  height: var(--height);
  line-height: var(--height);
  background: var(--themeBg);
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.2);

  border: none;
  z-index: 10;
  color: #fff;
  text-align: center;
  font-weight: 600;
  font: 800 16px / var(--height) "方正细珊瑚简体";
  /* font-family: "方正细珊瑚简体"; */
}
header .iconfont {
  position: absolute;
  right: 20px;
  font-size: 22px;
}
#layui-tab {
  position: fixed;
  /* top: var(--height); */
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: #fff;
  margin: 0;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
  /* overflow: scroll; */
}
#layui-tab .layui-tab-title {
  border-bottom-width: 0;
}
.layui-tab-title .layui-this {
  background: var(--themeBg);
  color: #fff;
}
.layui-tab-title .layui-this .layui-tab-close {
  color: #fff;
}
.layui-tab-title li:first-child .layui-tab-close {
  display: none;
}
.son-partlib-info {
  position: fixed;
  top: 90px;
  display: flex;
  z-index: 9;
  font-size: 12px;
}

.son-partlib-info li {
  padding: 12px 8px;
  background: rgb(220, 20, 60);
  color: #fff;
  margin-left: 10px;
  border-radius: 5px;
}
.son-partlib-info li:nth-child(2) {
  background: rgb(34, 139, 34);
}
.app-menu-opt {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9;
  right: 5px;
}
.app-menu-opt .btn-box:not(:last-child) {
  margin-bottom: 1px;
}
.app-canvas {
  width: 100%;
  height: 100%;
  overflow: auto;
}
.app-canvas.hide {
  display: none;
}
.app-canvas::-webkit-scrollbar {
  display: none !important;
  /* width: 0px; */
  /* height: 0px; */
}
/* layui 表格 取消超出隐藏 */
.layui-table-cell {
  height: auto;
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 22px;
  text-overflow: inherit;
  word-break: break-all;
  padding: 8px 8px;
}
/* 属性面板样式 */
.prop-con {
  width: 98%;
  margin: 0 auto;
  padding: 10px 0;
}
.layui-form .layui-table-header,
.layui-form thead tr {
  background-color: var(--themeBg);
  color: #fff;
}
.layui-textarea {
  font-size: 14px;
}
.row-info-textarea {
  margin: 10px 0;
}

/* loading 样式 */
.h5-loading-shape {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 198910180;
  /* background: rgba(0, 0, 0, 0.1); */
}

.spinner {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 198910181;
  margin: auto;
  width: 80px;
  height: 50px;
  text-align: center;
  font-size: 10px;
}

.spinner > div {
  background-color: #3bc0c3;
  height: 100%;
  width: 8px;
  display: inline-block;
  -webkit-animation: stretchDelay 1.2s infinite ease-in-out;
  animation: stretchDelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
}

.spinner .rect3 {
  -webkit-animation-delay: -1s;
  animation-delay: -1s;
}

.spinner .rect4 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

.spinner .rect5 {
  -webkit-animation-delay: -0.8s;
  animation-delay: -0.8s;
}

@-webkit-keyframes stretchDelay {
  0%,
  40%,
  100% {
    -webkit-transform: scaleY(0.4);
  }

  20% {
    -webkit-transform: scaleY(1.2);
  }
}

@keyframes stretchDelay {
  0%,
  40%,
  100% {
    transform: scaleY(0.4);
    -webkit-transform: scaleY(0.4);
  }

  20% {
    transform: scaleY(1);
    -webkit-transform: scaleY(1.2);
  }
}

/* 抽屉样式 */
#drawer-content {
  display: none;
}
